import { defineStore } from 'pinia';
import { ref, reactive, computed } from "vue";
export const useuserstore = defineStore('user', () => {
    const tel = ref("");
    const pwd = ref("");
    const userid = ref("");
    const changetel = (val) => {
        tel.value = val;
    };
    const changepwd = (val) => {
        pwd.value = val;
    };
    const setuserid = (val) => {
        userid.value = val;
    };
    return {
        tel,
        changetel,
        pwd,
        changepwd,
        userid,
        setuserid
    };
});
